package com.derbysoft.dswitch.adapter.ihg.webservice.impl;

import com.derbysoft.dswitch.adapter.ihg.common.domain.ChannelAuthorization;

/**
 * Created by: jason
 * Date: 2012-05-15
 */
public class AccountProvider {

    private String webServiceURL;
    private ChannelAuthorization authorization;

    public AccountProvider(String webServiceURL, ChannelAuthorization authorization) {
        this.webServiceURL = webServiceURL;
        this.authorization = authorization;
    }

    public static AccountProvider of(String webServiceURL, ChannelAuthorization authorization) {
        return new AccountProvider(webServiceURL, authorization);
    }

    public String getWebServiceURL() {
        return webServiceURL;
    }

    public ChannelAuthorization getAuthorization() {
        return authorization;
    }
}
